Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

fix: the goto-reference in slime-mode only works for global variables. #853

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

sakurawald
Copy link

@sakurawald sakurawald commented Dec 22, 2024

Brief summary of what the package does

Fix the binding of goto reference in slime mode.
The command slime-who-references is not the proper command to find the references on a symbol.
Actually, the slime-who-references only works on global variables, it doesn't works for functions, methods and class.
As documented:

slime-who-references is an interactive byte-compiled Lisp function in
‘slime.el’.

It is bound to g r, <normal-state> g r, C-c C-w C-r and C-c C-w r.

(slime-who-references SYMBOL)

Show all known referrers of the global variable SYMBOL.

[back]

The command slime-edit-uses is an all-in-one command, that does combines all the commands to find the references on a symbol, including: a variable, a function, a method, a class, a specializer.

As documented:

slime-edit-uses is an interactive byte-compiled Lisp function in
‘slime.el’.

It is bound to M-? and M-_.

(slime-edit-uses SYMBOL)

Lookup all the uses of SYMBOL.

[back]

Direct link to the package repository

https://github.com/slime/slime

Checklist

Assume you're working on mpc mode:

  • byte-compiles cleanly
  • M-x checkdoc is happy. Don't manually write (provide 'evil-collection-mpc), M-x checkdoc can do it automatically for you
  • define evil-collection-mpc-setup with defun
  • define evil-collection-mpc-mode-maps with defconst
  • All functions should start with evil-collection-mpc-

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant